import request from "@/utils/request";
//医院机构列表
export function hospitalGetList(data) {
  return request({
    method: "post",
    url: "/waste/hospitalBase/getList",
    data
  });
}

//保存医院机构
export function hospitalBaseSave(data) {
  return request({
    method: "post",
    url: "/waste/hospitalBase/save",
    data
  });
}

//获取医疗机构详情
export function hospitalBaseDetails(id) {
  return request({
    method: "get",
    url: `/waste/hospitalBase/getById/${id}`
  });
}
